package cn.jiyun.feign;

import cn.jiyun.pojo.Consumer;
import cn.jiyun.utils.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 季乾帅
 * @create 2023/8/22 11:09
 */
@FeignClient(value = "Consumer")
public interface ConsumerFeign {

    @RequestMapping("/consumer/login")
    public Result login(@RequestBody Consumer consumer);

}
